package com.meilai.project.controller.web.report.vo;

import com.meilai.project.controller.web.report.entity.WeekReportOccupy;
import lombok.Data;

/**
 * @Author yxg
 * @Date 2023/2/23 17:02
 */
@Data
public class WeekReportFloorOccupy2 extends WeekReportOccupy {
    //楼盘id
    private String building_id;
    //栋数
    private String building_number;
    //单元
    private String unit_number;

    // 销售单id
    private Long bill_sale_id;
    // 市场单id
    private Long bill_market_id;
    private String start_at_str;
    private String end_at_str;

    public String weekDetailGroupKey() {
        return building_id + "-" + building_number + "-" + unit_number + "-" + getFloor();
    }

    public String weekDetailCustomerDateRangeGroupKey() {
        return getCustomer_id() + "-" + getDaterange_id();
    }
}
